import { observable, action } from 'mobx';

export class mobxStore {
  nameSpace = 'mobxStore';
  todoList = [];

  /* observable 修饰可变数据 */
  @observable count = 0;

  /* action 修改状态 */
  @action.bound increment () {
    console.log('修改');
    this.count ++
  }
  
}





